package com.action.workreport;
import com.db.workreport.*;
public class StepUPAction {
	private int no;
private WorkReportDAO reportDAO;
	

	
	public void setReportDAO(WorkReportDAO reportDAO) {
		this.reportDAO = reportDAO;
	}

	public void setNo(int no) {
		this.no = no;
	}
	public String firststep()throws Exception
	{
		reportDAO.firststep(no);
		
		System.out.println("1차 심사 완료");
		return "success";
	}
	
	
	
	public String finalstep()throws Exception
	{
		reportDAO.finalstep(no);
		System.out.println("최종승인 완료");
		return "success";
	}
}
